package com.ruoyi.lucky.domain;

import com.ruoyi.common.annotation.Excels;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 盲盒出售对象 t_boxsell_info
 * 
 * @author ruoyi
 * @date 2020-11-12
 */
@Data
public class TBoxsellInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盲盒出售id */
    private Long boxsellId;

    /** 盲盒id */
    @Excel(name = "盲盒id")
    private Long blindboxId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 出售价格 */
    @Excel(name = "出售价格")
    private Long sellfee;

    /** 盲盒类型 */
    @Excel(name = "盲盒类型")
    private Long type;

    /** 成本价格 */
    @Excel(name = "成本价格")
    private Long costfee;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 删除标志 */
    private String delFlag;

    private Date failureTime;

    private TUser tUser;

    private TBlindbox tBlindbox;

    private TGoods tGoods;

    public TBlindbox gettBlindbox() {
        return tBlindbox;
    }

    public void settBlindbox(TBlindbox tBlindbox) {
        this.tBlindbox = tBlindbox;
    }

    public TGoods gettGoods() {
        return tGoods;
    }

    public void settGoods(TGoods tGoods) {
        this.tGoods = tGoods;
    }

    public TUser gettUser() {
        return tUser;
    }

    public void settUser(TUser tUser) {
        this.tUser = tUser;
    }
}
